package com.dev.security;

import com.dev.security.interceptor.LogInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 配置
 *
 * @author yuboon
 * @version v1.0
 * @date 2020/04/11
 */
@Configuration
public class SecurityConfiguration {

    @Bean
    SecurityWebConfigurer securityWebConfigurer(){
        return new SecurityWebConfigurer();
    }

    @Bean
    LogInterceptor logInterceptor(){
        return new LogInterceptor();
    }

}
